Mitel Actions
Mitel has 2 different types of Actions:
-
Phone Services
-
Phone Services Dialer
Get Mitel Actions
Retrieve all Mitel actions by issuing a GET on the below URL
This will return a collection of Actions object which could be a mix of the above-mentioned Action types.
The above will return a specific Action with Id.
[Note: Query filters may be applied on the Actions object. Refer to Query Methods portion of the document for more information]
Phone Service Actions Object
Name (required) |
The name of action you are creating. |
Site |
Provide a Site (name) to associate the action. A null or empty string for Site defaults the action to AllSites, i.e. The action will be available to all Sites configured in Revolution. |
URL |
This is not a create or update property but will be provided on all GET of an actions. This is a dynamically generated callback URL to trigger this action. |
Add or Update Mitel Actions
Actions may be added/updated in collections of Actions objects.
Example Request
-
This POST request adds one new PhoneService and updates another existing PhoneService (Note: the object with ‘Id’)
Example Response
Phone Service Dialer Actions Object
Name (required) |
The name of action you are creating. |
Site |
Provide a Site (name) to associate the action. A null or empty string for Site defaults the action to AllSites, i.e. The action will be available to all Sites configured in Revolution. |
Extension |
Dial an extension directly |
URL |
This is not a create or update property but will be provided on all GET of an actions. This is a dynamically generated callback URL to trigger this action. |
Actions may be added/updated in collections of Actions objects.
Follow the same example as provided for PhoneService
Delete Mitel Actions
Delete Mitel Actions by sending a collection of Ids of actions that need to be deleted.
Example Request
-
This POST deletes actions with below IDs.